package com.tuanzi.loan.security;

import lombok.Getter;

public enum AuthenticationFailureType {

	BAD_CREDENTIAL("登录失败,用户密码错误"), DISABLED("登录失败,用户已被禁用"), LOCKED("登录失败,用户已被锁定"), SESSION_TIMEOUT("已过有效登录时间,请重新登录"), NO_USER("不存在该用户"), ERROR("登录失败");

	@Getter
	private String message;

	AuthenticationFailureType(String message) {
		this.message = message;
	}

}
